<script type="text/javascript" src="${base}/scripts/cwgl/cgrk.js"></script>
<div id="toolbar_cgrk">
    <div class="PTools">
        <ul class="niu">
            <li><a href="javascript:void(0);" id="btn_cgrk_insert" class="in" plain="true" style="display: none;">导入</a></li>
            <li><a href="javascript:void(0);" id="btn_cgrk_cx"  class="undo" plain="true" style="display: none;">撤销</a></li>
            <li><a href="javascript:void(0);" id="btn_cgrk_cz"  class="reload" plain="true" style="display: none;">重置</a></li>
        <#--<#if gnczList??>-->
            <#--<#list gnczList as gncz>-->
                <#--<li>${(gncz.gnczHtml)!}</li>-->
            <#--</#list>-->
        <#--</#if>-->
        </ul>
        <div class="sea-tool"><a href="javascript:void(0);"><span>高级搜索</span></a></div>
    </div>
    <div class="textcon">
        <table class="tb">
            <tr>
                <th>状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</th>
                <td>
                    <select name="querycgrk.zt" class="easyui-combobox searchinput-text"
                            style="width:166px;" data-options="panelHeight:'150'">
                        <option value="">全部</option>
                        <option value="ybc">已保存</option>
                        <option value="ytj">已提交</option>
                        <option value="ysp">已审批</option>
                    </select>
                </td>
                <th>类&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;型：</th>
                <td>
                    <select class="easyui-combobox searchinput-text" style="width:166px;"
                            data-options="panelHeight:'166'"
                            name="querycgrk.cglx">
                        <option value="">全部</option>
                        <option value="cgrk">采购入库</option>
                        <option value="zddh">直达到货</option>
                    </select>
                </td>
                <th>申报单位：</th>
                <td><input id="cgrk_cgrkw" name="querycgrk.cgrkw" type="text" style="width:166px;"
                           class="easyui-combotree input-text"
                           data-options="url:'${base}/organ/gsjg/gsjg_tree',panelHeight:'150'"/></td>
            <#--<th>采&nbsp;购&nbsp;&nbsp;人：</th>-->
            <#--<td><input id="cgrk_cgr" name="querycgrk.cgr" type="text" style="width:166px;"-->
            <#--class="easyui-combobox searchinput-text"-->
            <#--data-options="valueField:'id',textField:'xm',panelHeight:'150',editable:'true' "/>-->
            <#--</td>-->
            </tr>
            <tr>
                <th>供&nbsp;应&nbsp;商：</th>
                <td><input name="querycgrk.gys" type="text" class="searchinput-text" style="width:164px"/>
                </td>
                <th>采购单号：</th>
                <td><input name="querycgrk.cgrkh" type="text" style="width:164px;" class="searchinput-text"></td>
                <th>到货仓库：</th>
                <td><input id="cgrk_dzck" name="querycgrk.dzck" type="text"
                           style="width:166px;" class="easyui-combotree input-text"/></td>
            </tr>
            <tr>
                <th>入库状态：</th>
                <td>
                    <select class="easyui-combobox searchinput-text" data-options="panelHeight:'125'"
                            style="width:164px"
                            name="querycgrk.rkzt">
                        <option value="">全部</option>
                        <option value="false">未入库</option>
                        <option value="true">已入库</option>
                    </select>
                </td>
                <th>制单时间：</th>
                <td><input id="zdsj_start" name="querycgrk.zdsj" type="text" style="width:166px;"
                           class="easyui-datebox" value="${(CurrentTime?date)!}"/></td>
                <td align="center">至</td>
                <td><input id="zdsj_end" name="querycgrk.zdsj" type="text" style="width:166px;"
                           class="easyui-datebox" value="${(CurrentTime?date)!}"/></td>
            </tr>
            <tr>
                <th>不显示代理客户的采购单：</th>
                <td><input id="cgrk_dlkhcgrk" type="checkbox" value="true" checked /></td>
                <td style=" padding-left:5px;"><input id="btn_cgrk_search" type="button" value=""
                                                      class="submit"/></td>
            </tr>
        </table>
    </div>
</div>
<table id="grid_cgrk"
       toolbar="#toolbar_cgrk" pagination="true"
       rownumbers="true"
       fitColumns="true" singleSelect="true" fit="true">
</table>